package com.mjf.reflection;

public class Cat {
    String name = "tom";
    public int age = 20;

    public Cat() {
    }

    public Cat(String name) {
        this.name = name;
    }

    public void hi() {
        System.out.println("h1 " + name);
    }

    public void eat() {
        System.out.println(name + " is eating");
    }

    public void test() {

    }
}
